package com.example.myxm.module;

/**
 * 收入记录实体 Bean
 */
public class IncomeBean {
    private int id;
    private int userId;
    private double amount;
    private String date;
    private String type;
    private String payer;
    private String note;

    public IncomeBean() {
    }

    public IncomeBean(int id,
                      int userId,
                      double amount,
                      String date,
                      String type,
                      String payer,
                      String note) {
        this.id = id;
        this.userId = userId;
        this.amount = amount;
        this.date = date;
        this.type = type;
        this.payer = payer;
        this.note = note;
    }

    // Getter & Setter

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }


    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }


    public double getAmount() {
        return amount;
    }

    public void setAmount(double amount) {
        this.amount = amount;
    }


    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }


    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }


    public String getPayer() {
        return payer;
    }

    public void setPayer(String payer) {
        this.payer = payer;
    }


    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }
}
